import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useMessageStore = defineStore('message', () => {
  const channel = new BroadcastChannel('test')
  const messageExam = ref(channel)
  return { messageExam }
})
